class Animal:
    def __init__(self, name, color, age, sex):
        self.name = name
        self.color = color
        self.age = age
        self.sex = sex

    def call(self, name):
        print(f"{name}会叫")

    def run(self, name):
        print(f"{name}会跑")


class Cat(Animal):
    def __init__(self, name, color, age, sex, fur):
        Animal.__init__(self, name, color, age, sex)
        self.fur = fur
        print(f"一只名字叫做{name}的{color}小猫，{age}岁了，是{sex}，他的皮毛是{fur},捉到了老鼠")

    def skill(self):
        print(f"{self.name}会捉老鼠")

    def call(self):
        print(f"{self.name}会喵喵叫")


class Dog(Animal):
    def __init__(self, name, color, age, sex, fur):
        Animal.__init__(self, name, color, age, sex)
        self.fur = fur
        print(f"一只名字叫做{name}的{color}小狗，{age}岁了，是{sex}，他的皮毛是{fur}")


    def skill(self):
        print(f"{self.name}会看家")

    def call(self):
        print(f"{self.name}会汪汪叫")


cat = Cat("Tom", "白色", 5, "female", "短毛")
cat.skill()
cat.call()
dog = Dog("Jerry", "黑色", 6, "male", "长毛")
dog.skill()
dog.call()
